package com.tlibrary.service;

import com.tlibrary.dao.CollegeMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * @Author：wcc
 * @Description：
 * @Date：Create in: 2019/2/21--10:38
 */
@Service
public class ShowbasicsService {

    @Autowired
    private CollegeMapper cm;
    public List getcol() {
        HashMap hashMap=new HashMap();
        List<Map<String, String>> getcol = cm.getcol(hashMap);
        return  getcol;
    }

    public List getDept() {
        HashMap hashMap=new HashMap();
        List<Map<String, String>> getDept = cm.getDept(hashMap);
        return  getDept;
    }

    public List getallcol() {
        HashMap hashMap=new HashMap();
        List<Map<String, String>> getallcol = cm.getallcol(hashMap);
        return  getallcol;
    }

    public List getCouser(String id) {
        HashMap hashMap=new HashMap();
        List<Map<String, String>> getCouser = cm.getCouser(id);
        return  getCouser;
    }

    public List getCousers(String id) {
        HashMap hashMap=new HashMap();
        List<Map<String, String>> getCousers = cm.getCousers(id);
        return  getCousers;
    }

    public List getCouserss() {
        HashMap hashMap=new HashMap();
        List<Map<String, String>> getCouserss = cm.getCouserss();
        return  getCouserss;
    }
}
